package com.haorui.lygyd.employeemanager.controller;
import com.haorui.base.core.controller.BaseController;
import com.haorui.lygyd.employeemanager.dto.SchoolDto;
import com.haorui.lygyd.employeemanager.entity.SchoolEntity;
import com.haorui.lygyd.employeemanager.service.SchoolService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @support: 西安鑫正豪信息技术有限公司
 * @author: 系统生成
 * @version: 1.0
 * @Date: Wed Feb 27 00:27:07 CST 2019
 * @Description: 学校
 */
@RestController
@RequestMapping(value = "/school")
public class SchoolController extends BaseController<SchoolEntity,SchoolDto> {
    private SchoolService schoolService;
    public SchoolController(@Autowired SchoolService schoolService) {
        super(schoolService);
        this.schoolService=schoolService;
    }
}
